import request from "@/util/req";

export function addDingdan(userid:string){
    return request.post('order/addOrder',{
        userid
    })
}


export function getDingdan(userid:string){
    return request.get('user/orderlist',{
        params:{
            userid
        }
    })
}

export function removeGouwu(userid:string){
    return request.get<any,dataObj>("order/deleteCartItem",{
        params:{
            userid
        }
    })
}